package cn.tedu.ivos.application.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class ApplicationSaveParam {
    @ApiModelProperty("申请单id")
    private Long id;
    @ApiModelProperty("申请人id")
    private Long userId;
    @ApiModelProperty("申请人姓名")
    private String username;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("用车开始时间")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("用车结束时间")
    private Date endTime;
    @ApiModelProperty("驾照图片")
    private String imgUrl;
    @ApiModelProperty("出发地点")
    private String departureAddr;
    @ApiModelProperty("目的地")
    private String destinationAddr;
    @ApiModelProperty("事由")
    private String reason;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("分配用车id")
    private Long vehicleId;
    @ApiModelProperty("驳回原因")
    private String rejectReason;
    @ApiModelProperty("审批人id集合")
    private List<Long> auditUserIdList; //[106,103]
}
